From 324bac85f6be328a38a82c82c4efc39fca5d4386 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Thu, 28 Apr 2005 02:51:22 +0000 Subject: [PATCH] * Removed the need to supply a reason for a block. --- RELEASE-NOTES | 1 + includes/SpecialBlockip.php | 6 ------ languages/Language.php | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b271a27adf..392ea435e3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -29,6 +29,7 @@ New exciting things! Need further work and testing... * It's now possible to invert the namespace selection at Special:Allpages and Special:Contributions * No longer using sorbs.net to check for open proxies by default. * What was $wgDisableUploads is now $wgEnableUploads, and should be set to true if one wishes to enable uploads. +* Supplying a reason for a block is no longer mandatory * ...and more! Need to merge: diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 5da520d49b..d5e58c653b 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -165,12 +165,6 @@ class IPBlockForm { } - - if ( $this->BlockReason == '') { - $this->showForm( wfMsg( 'noblockreason' ) ); - return; - } - # Create block # Note: for a user block, ipb_address is only for display purposes diff --git a/languages/Language.php b/languages/Language.php index a173a1fc46..d654fad677 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1424,7 +1424,6 @@ pages that were vandalized).", 'ipbreason' => 'Reason', 'ipbsubmit' => 'Block this user', 'badipaddress' => 'Invalid IP address', -'noblockreason' => 'You must supply a reason for the block.', 'blockipsuccesssub' => 'Block succeeded', 'blockipsuccesstext' => "\"$1\" has been blocked.
See [[Special:Ipblocklist|IP block list]] to review blocks.", -- 2.20.1